package ${packageEntity}.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
<#assign hasLocalDateTime = false>
<#assign hasLocalDate = false>
<#assign hasDate = false>
<#if table?? && table.fields??>
    <#list table.fields as field>
        <#if field.propertyType?? && field.propertyType == 'LocalDateTime'>
            <#assign hasLocalDateTime = true>
        </#if>
        <#if field.propertyType?? && field.propertyType == 'LocalDate'>
            <#assign hasLocalDate = true>
        </#if>
        <#if field.propertyType?? && field.propertyType == 'Date'>
            <#assign hasDate = true>
        </#if>
    </#list>
</#if>
<#if hasLocalDateTime>
import java.time.LocalDateTime;
</#if>
<#if hasLocalDate>
import java.time.LocalDate;
</#if>
<#if hasDate>
import java.util.Date;
</#if>

/**
 * 删除${table.comment!} 请求
 *
 * @author ${author}
 * @since ${date}
 */
@Data
@ApiModel(value = "删除${table.comment!} 请求入参")
public class Del${entity}Req {
<#if table?? && table.fields??>
<#list table.fields as field>
<#if field.propertyName?? && field.keyFlag?? && field.keyFlag>
    /**
     * ${field.comment!''}
     */
    @ApiModelProperty("${field.comment!''}")
    private ${field.propertyType} ${field.propertyName};
</#if>
</#list>
<#else>
    /**
     * ID
     */
    @ApiModelProperty("ID")
    private Long id;
</#if>
}
